package com.yuhs.zixing.pay.web.result;

/**
 * @ClassName ResultCodeEnum
 * @Description 结果枚举
 * @Author yuhs
 * @CreateDate 2020/12/4
 **/
public enum ResultCodeEnum {
    SUCCESS("0", "成功"),
    FAIL("1", "失败"),
    EXCEPTION("99", "异常");

    private String code;
    private String message;

    private ResultCodeEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }


    public String getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
